/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package aqu.bean.generico;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;
import javax.faces.event.ActionEvent;

/**
 *
 * @author angelquingaluisa
 */
public class BeanGenerico {

    private boolean panelpopupvisible;
    private boolean panelpopuwizardpvisible;
    private TimeZone generalTimeZone = TimeZone.getDefault();
    private SimpleDateFormat formatoFechas = new SimpleDateFormat("dd/MM/yyyy");
    private Date FechaActual = new Date();

    public Date getFechaActual() {
        return FechaActual;
    }

    public void setFechaActual(Date FechaActual) {
        this.FechaActual = FechaActual;
    }

    public SimpleDateFormat getFormatoFechas() {
        return formatoFechas;
    }

    public void setFormatoFechas(SimpleDateFormat formatoFechas) {
        this.formatoFechas = formatoFechas;
    }

    public TimeZone getGeneralTimeZone() {
        return generalTimeZone;
    }

    public void setGeneralTimeZone(TimeZone generalTimeZone) {
        this.generalTimeZone = generalTimeZone;
    }

    public void setPanelpopupvisible(boolean panelpopupvisible) {
        this.panelpopupvisible = panelpopupvisible;
    }

    public void setPanelpopuwizardpvisible(boolean panelpopuwizardpvisible) {
        this.panelpopuwizardpvisible = panelpopuwizardpvisible;
    }

    public boolean isPanelpopupvisible() {
        return panelpopupvisible;
    }

    public boolean isPanelpopuwizardpvisible() {
        return panelpopuwizardpvisible;
    }

    public void llamarPanelpopuwizardpvisible(ActionEvent event) {
        //System.out.println("toggleVisible");
        panelpopuwizardpvisible = !panelpopuwizardpvisible;
    }

    public void llamarPanelpopupvisible(ActionEvent event) {
        //System.out.println("toggleVisible");
        panelpopupvisible = !panelpopupvisible;
    }
}
